﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CKSE.Interfaces;

namespace CKSE
{
    public class Project
    {
        #region Fields
        private List<IFolder> _folders;
        private readonly Solution _solution;
        #endregion

        #region Properties
        public List<IFolder> Folders
        {
            get
            {
                if (_folders == null)
                {
                    _folders = new List<IFolder>();
                }
                return _folders;
            }
        }

        public Solution Solution
        {
            get
            {
                return _solution;
            }
        }
        #endregion

        #region Life Cycle
        public Project()
            : this(null)
        {

        }
        public Project(Solution solution)
        {
            _solution = solution;
            _folders = null;
        }
        #endregion
    }
}
